package net.homeip.mmhg.events;

/**
 * Interface for all events that show should be recorded.  
 * 
 * @author ilya gerasimov
 */
public interface Event {

	/**
	 * All types of events.
	 */
	public enum EventType {GAME_STARTED,
						   GAME_STOPPED,
						   GAME_RESET,
						   NEW_TASK,
						   NO_MORE_TASKS,
						   TASK_FINISHED,
						   TASK_STATE_CHANGED,
						   TASK_REJECTED,
						   FORCE_REJECT,
						   TOO_MANY_ERRORS,
						   TEAM_BLOCKED,
						   TEAM_UNBLOCKED,
						   TASK_BLOCKED,
						   TASK_UNBLOCKED};
	/**
	 * Get type of the event.
	 */
    public EventType getType();
	
}
